package models

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ CusIpBlacklistsModel = (*customCusIpBlacklistsModel)(nil)

type (
	// CusIpBlacklistsModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCusIpBlacklistsModel.
	CusIpBlacklistsModel interface {
		cusIpBlacklistsModel
	}

	customCusIpBlacklistsModel struct {
		*defaultCusIpBlacklistsModel
	}
)

// NewCusIpBlacklistsModel returns a model for the database table.
func NewCusIpBlacklistsModel(conn sqlx.SqlConn, c cache.CacheConf) CusIpBlacklistsModel {
	return &customCusIpBlacklistsModel{
		defaultCusIpBlacklistsModel: newCusIpBlacklistsModel(conn, c),
	}
}
